function [Ba]=DataNormalize(A)
Ba=nan(size(A));
for i=1:size(A,2)
    Ba(:,i)=(2*A(:,i)-(max(A(:,i))+min(A(:,i))))/(max(A(:,i))-min(A(:,i)));
end

    